package com.lizhaoshan.service;

import com.lizhaoshan.dto.CategoryDto;
import com.lizhaoshan.pojo.Category;
import com.lizhaoshan.pojo.PageBean;

import java.util.List;

/**
 * @program: reggie
 * @description:
 * @author: lamour
 * @create: 2022-05-14 19:29
 **/
public interface CategoryService {

    public boolean addCategory(CategoryDto categoryDto);

    boolean putCategory(CategoryDto categoryDto);

    boolean deleteCategory(String id);

    List<Category> getCategoryType(Integer type);

    PageBean<Category> getCategoryPages(Integer page, Integer pageSize);
}
